<?php $this->render("theader.php");?>
<?php if ($this->plan != 'en'){?>
<div class="main_box">   
    <div class="w_986">
    <div class="f_l plate_216 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg">
            <div class="meet_edit_l_top">
            	<div class="f14 name f_l">欢迎您，<?php echo $this->uinfo['name'];?></div>
          		<a href="<?php echo $this->baseUrl . '/?a=logout&gourl=' . urlencode($this->fullUrl . '/' . $this->minfo['domain']);?>" class="login_out f_r head_bg">注销</a>              
              <div class="clear"></div>
              <?php $arr_status = array('未提交', "待审核", "通过审核", "未通过审核", "最终确认");?>
              <div class=""><span class="c_gray6">状态：</span><span class="c_ora_red"><?php echo $arr_status[$this->ischeck];?></span></div>
            </div>
            
            <div class="meet_edit_l_nav">
            	<ul>
                	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=pwd';?>">修改密码</a></li>
                	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=puinfo';?>" class="selected">修改会议平台统一身份认证信息</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=muinfo';?>">填写/修改会议注册信息</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=mfile';?>">上传文件管理</a></li>
                </ul>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
        
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_l_mid">
            <div class="meet_home_l_nav">
            <?php $left = unserialize($this->minfo['left']);
                if (is_array($left)){
                	foreach($left as $index => $v){
                	if ($v['show'] == false)continue;
                	$url = "";
                	if ($v['type'] == 'login')
						$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=reg&p=l' . $index;
                	elseif($v['type'] == 'article')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=article&uuid=' . $v['uuid'] . '&p=l' . $index;
                	elseif($v['type'] == 'file')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'] . '&p=l' . $index;
                	else
                		$url = "#no";
                ?>
          		<a href="<?php echo $url;?>" class="icon_all list_nav"><?php echo $v['name'];?></a> 
          		<?php }}?>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="f_r plate_756 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_content_mid">
            <div class="">
            	<h2 class="h2_title">会议平台统一身份认证 <span class="c_gray6 span_font">( <span class="c_red">*</span> 为必填项 )</span></h2>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="register_table">
                  <tr>
                    <th><span class="c_red">*</span> E-mail：</th>
                    <td><input name="email" id="email" value="<?php echo $this->uinfo['email'];?>" readonly="readonly" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <!-- 
                  <tr>
                    <th><span class="c_red">*</span> 密码：</th>
                    <td><input name="password" id="password" value="<?php if ($this->debug)echo "debug";?>" size="40" type="password" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 确认密码：</th>
                    <td><input name="password2" id="password2" value="<?php if ($this->debug)echo "debug";?>" size="40" type="password" class="input_style" /></td>
                  </tr> -->
                  <tr>
                    <th><span class="c_red">*</span> 英文姓：</th>
                    <td><input name="enfname" id="enfname" value="<?php echo $this->uinfo['enfname']; ?>" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 英文名：</th>
                    <td><input name="enlname" id="enlname" value="<?php echo $this->uinfo['enlname'];?>" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 中文姓名：</th>
                    <td><input name="name" id="name" size="40" value="<?php echo $this->uinfo['name'];?>" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 性别：</th>
                    <td>
                    	<select name="gender" id="gender">
                    	  <option value="1">男</option>
                    	  <option value="2" <?php if ($this->uinfo['gender'] == 2){?>selected="selected"<?php }?>>女</option>
                        </select>
                    </td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 国家或地区：</th>
                    <td>
                    	<select name="nation" id="nation">
<?php foreach($this->nations as $v){
$selected = "";
if ($this->uinfo['nation'] == $v)
	$selected = "selected=\"selected\"";
echo <<<EOT
<option value="{$v}" {$selected}>{$v}</option>
EOT;
}?>
                        </select>
                    </td>
                  </tr>
                  <tr>
                    <th>出生日期：</th>
                    <td><input name="birth" id="birth" value="<?php echo substr($this->uinfo['birth'], 0, 10);?>" size="20" type="text" class="input_style f_l" style="margin-right:5px;"/></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 身份证/护照号码：</th>
                    <td><input name="idcode" id="idcode" size="40" type="text" value="<?php echo $this->uinfo['idcode'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 工作单位（中文名称）：</th>
                    <td><input name="unit" id="unit" size="40" type="text" value="<?php echo $this->uinfo['unit'];?>" class="input_style" /></td>
                  </tr>
                  
                  <tr>
                    <th>工作单位（英文名称）：</th>
                    <td><input name="cnunit" id="cnunit" size="40" type="text" value="<?php echo $this->uinfo['cnunit'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 职务（中文名称）：</th>
                    <td><input name="headphoto" id="headphoto" size="40" type="text" value="<?php echo $this->uinfo['headphoto'];?>" class="input_style" /></td>
                  </tr>
                  
                  <tr>
                    <th>职务（英文名称）：</th>
                    <td><input name="idphoto" id="idphoto" size="40" type="text" value="<?php echo $this->uinfo['idphoto'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 联系电话：</th>
                    <td><input name="phone" id="phone" size="40" type="text" value="<?php echo $this->uinfo['phone'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th>传真：</th>
                    <td><input name="fax" id="fax" size="40" type="text" value="<?php echo $this->uinfo['fax'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 联系地址：</th>
                    <td><input name="address" id="address" size="40" type="text" value="<?php echo $this->uinfo['address'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> 邮政编码：</th>
                    <td><input name="pcode" id="pcode" size="40" type="text" value="<?php echo $this->uinfo['pcode'];?>" class="input_style" /></td>
                  </tr>
                  <tr <?php if ($this->isclose){echo "style='display:none'";}?>>
                    <th></th>
                    <td><input name="btn_reg" id="btn_reg" type="button" value="提 交" class="btn_blue30 line_bg_all" /></td>
                  </tr>
                </table>
            </div>
            
                    
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="clear"></div>
    </div>    
    
</div>


<?php $GLOBALS['nomanage'] = true;$this->render("footer.php");?>
<script>
var baseUrl = "<?php echo $this->baseUrl;?>";
var currentUid = <?php echo $this->uinfo['uid'];?>;
var currentMid = <?php echo $this->minfo['mid'];?>
</script>
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.core.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="js/user_reg.js"></script>

</body>
</html>


<?php }else{?>
<div class="main_box">   
    <div class="w_986">
    <div class="f_l plate_216 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg">
            <div class="meet_edit_l_top">
            	<div class="f14 name f_l">Welcome，<?php echo $this->uinfo['name'];?></div>
          		<a href="<?php echo $this->baseUrl . '/?a=logout&gourl=' . urlencode($this->fullUrl . '/' . $this->minfo['domain'] . '?lan=en');?>" class="login_out f_r head_bg">Logout</a>              
              <div class="clear"></div>
              <?php $arr_status = array('To Be Submitted', "To Be Verified", "Already Verified", "Not Passed", "Finally Confirmed");?>
              <div class=""><span class="c_gray6">Status：</span><span class="c_ora_red"><?php echo $arr_status[$this->ischeck];?></span></div>
            </div>
            
            <div class="meet_edit_l_nav">
            	<ul>
            	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=pwd';?>">Modify Password</a></li>
                	<li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=puinfo';?>" class="selected">Modify Unified Identity Information of Platform</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=muinfo';?>">Fill in / Modify Conference Registration Information</a></li>
                    <li class="li_nav"><a href="<?php echo $this->baseUrl . '/' . $this->minfo['domain'] . '?a=mfile';?>">Uploaded File(s)</a></li>
                </ul>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_l_mid">
            <div class="meet_home_l_nav">
            <?php $left = unserialize($this->minfo['left']);
                if (is_array($left)){
                	foreach($left as $index => $v){
                	if ($v['show'] == false)continue;
                	$url = "";
                	if ($v['type'] == 'login')
						$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=reg&p=l' . $index;
                	elseif($v['type'] == 'article')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=article&uuid=' . $v['uuid'] . '&p=l' . $index;
                	elseif($v['type'] == 'file')
                		$url = $this->baseUrl . '/' . $this->minfo['domain'] . '?a=file&id=' . $v['uuid'] . '&p=l' . $index;
                	else
                		$url = "#no";
                ?>
          		<a href="<?php echo $url;?>" class="icon_all list_nav"><?php echo $v['enname'];?></a> 
          		<?php }}?>
            </div>
            
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="f_r plate_756 plate">
        <div class="list_plate_bg top_bg"></div>
        <div class="list_plate_bg mid_bg" id="list_content_mid">
            <div class="">
            	<h2 class="h2_title">Unified Identity of Conference Platform<span class="c_gray6 span_font">( <span class="c_red">*</span> is required. )</span></h2>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="register_table">
                  <tr>
                    <th><span class="c_red">*</span> E-mail：</th>
                    <td><input name="email" id="email" value="<?php echo $this->uinfo['email'];?>" readonly="readonly" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <!-- 
                  <tr>
                    <th><span class="c_red">*</span> Password：</th>
                    <td><input name="password" id="password" value="<?php if ($this->debug)echo "debug";?>" size="40" type="password" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> Confirm Password：</th>
                    <td><input name="password2" id="password2" value="<?php if ($this->debug)echo "debug";?>" size="40" type="password" class="input_style" /></td>
                  </tr> -->
                  <tr>
                    <th><span class="c_red">*</span> Family Name：</th>
                    <td><input name="enfname" id="enfname" value="<?php echo $this->uinfo['enfname']; ?>" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> Given Name：</th>
                    <td><input name="enlname" id="enlname" value="<?php echo $this->uinfo['enlname'];?>" size="40" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th nowrap="nowrap"><span class="c_red">*</span> Full Name：</th>
                    <td><input name="name" id="name" size="40" value="<?php echo $this->uinfo['name'];?>" type="text" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> Gender：</th>
                    <td>
                    	<select name="gender" id="gender">
                    	  <option value="1">Male</option>
                    	  <option value="2" <?php if ($this->uinfo['gender'] == 2){?>selected="selected"<?php }?>>Female</option>
                        </select>
                    </td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> Country/Region：</th>
                    <td>
                    	<select name="nation" id="nation">
<?php foreach($this->nations as $v){
$selected = "";
if ($this->uinfo['nation'] == $v)
	$selected = "selected=\"selected\"";
echo <<<EOT
<option value="{$v}" {$selected}>{$v}</option>
EOT;
}?>
                        </select>
                    </td>
                  </tr>
                  <tr>
                    <th>Date of Birth：</th>
                    <td><input name="birth" id="birth" value="<?php echo substr($this->uinfo['birth'], 0, 10);?>" size="20" type="text" class="input_style f_l" style="margin-right:5px;"/></td>
                  </tr>
                  
                  <tr>
                    <th><span class="c_red">*</span> Passport No.：</th>
                    <td><input name="idcode" id="idcode" size="40" type="text" value="<?php echo $this->uinfo['idcode'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span> Affiliation：</th>
                    <td><input name="cnunit" id="cnunit" size="40" type="text" value="<?php echo $this->uinfo['cnunit'];?>" class="input_style" /></td>
                  </tr>
                  
                  <tr>
                    <th><span class="c_red">*</span> Position：</th>
                    <td><input name="idphoto" id="idphoto" size="40" type="text" value="<?php echo $this->uinfo['idphoto'];?>" class="input_style" /></td>
                  </tr>
                  
                  <tr>
                    <th><span class="c_red">*</span> Telephone：</th>
                    <td><input name="phone" id="phone" size="40" type="text" value="<?php echo $this->uinfo['phone'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th>Fax：</th>
                    <td><input name="fax" id="fax" size="40" type="text" value="<?php echo $this->uinfo['fax'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span>Mailing Address：</th>
                    <td><input name="address" id="address" size="40" type="text" value="<?php echo $this->uinfo['address'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th><span class="c_red">*</span>Zip Code：</th>
                    <td><input name="pcode" id="pcode" size="40" type="text" value="<?php echo $this->uinfo['pcode'];?>" class="input_style" /></td>
                  </tr>
                  <tr>
                    <th></th>
                    <td><input name="btn_reg" id="btn_reg" type="button" value="Submit" class="btn_blue30 line_bg_all" /></td>
                  </tr>
                </table>
            </div>
            
                    
            <div class="clear"></div>
        </div>
        <div class="list_plate_bg bot_bg"></div>
    </div>
    <div class="clear"></div>
    </div>    
    
</div>


<?php $GLOBALS['nomanage'] = true;$this->render("footer.php");?>
<script>
var baseUrl = "<?php echo $this->baseUrl;?>";
var currentUid = <?php echo $this->uinfo['uid'];?>;
var currentMid = <?php echo $this->minfo['mid'];?>
</script>
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.core.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.widget.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker.min.js"></script>
<script type="text/javascript" src="js/jquery-ui/jquery.ui.datepicker-en-GB.js"></script>
<script type="text/javascript" src="js/user_reg.js"></script>

</body>
</html>
<?php }?>
